<!DOCTYPE html>
<html   xmlns="http://www.w3c.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:p="http://primefaces.org/ui"
        xmlns:f="http://xmlns.jcp.org/jsf/core"
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
    <h:head/>
    <h:body>
        <ui:composition template="template.xhtml">
            <ui:define name="content">
                
                <h:form>
                    <h:panelGrid columns="2">
                        <p:outputLabel for="btnA" value="btnA: " />
                        <p:commandButton id="btnA" value="method()" action="#{topMenuBean.method()}" />
                        <p:outputLabel for="btnB" value="btnB: " />
                        <p:commandButton id="btnB" value="BrowserLocale()" action="#{topMenuBean.BrowserLocale()}" />
                    </h:panelGrid>
                </h:form>
                
                <h:panelGroup rendered="#{getParam.view == null || getParam.view == ''}">
                    <ui:include src="home.xhtml" />
                </h:panelGroup>
                <h:panelGroup rendered="#{getParam.view == 'tour'}">
                    <ui:include src="tour.xhtml" />
                </h:panelGroup>
                <h:panelGroup rendered="#{getParam.view == 'impressum'}">
                    <ui:include src="impressum.xhtml" />
                </h:panelGroup>
                <h:panelGroup rendered="#{getParam.view == 'members'}">
                    <ui:include src="members.xhtml" />
                </h:panelGroup>
            </ui:define>
        </ui:composition>
    </h:body>
</html>
